﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SetSystem/SetSystem.master" AutoEventWireup="True" CodeBehind="TutorDefine.aspx.cs" Inherits="Web.SetSystem.WebForm10" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<li><a href="AdmManage.aspx">学生和员工库设置</a></li><li><a href="StuLibManage.aspx">学生信息库设置</a></li><li><a href="PaperLibManage.aspx">论文状态库设置</a></li><li><a href="TutorDefine.aspx">论文指导老师设置</a></li><li><a href="DefenseArrange.aspx">答辩安排设置</a></li>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <br />
    <asp:TabContainer ID="TabContainer1" runat="server">
    <asp:TabPanel ID="tabpanel1" runat="server" HeaderText="安排论文指导老师">
    <ContentTemplate>
        <table>
        <tr>
            <td>
                   <asp:Label ID="Label_filter" runat="server" Text="筛选班级："></asp:Label></td>
            <td>
                    <asp:TextBox ID="TextBox_filter" runat="server" ToolTip="输入学号前三位,空白返回全部班级"></asp:TextBox></td>
            <td>
                <asp:ImageButton ID="ImageButton_filter" runat="server" 
        ImageUrl="~/img/Control/search.gif" onclick="ImageButton_filter_Click" /></td>
            <td>
                <asp:Label ID="Label2" runat="server" Text="班级列表："></asp:Label></td>
            <td>
                <asp:DropDownList ID="DropDownList_classlist" runat="server" AutoPostBack="True" 
        onselectedindexchanged="DropDownList_classlist_SelectedIndexChanged"></asp:DropDownList></td>
            <td>
               <asp:Label ID="Label_tutorlist" runat="server" Text="导师列表："></asp:Label></td>
            <td>
               <asp:DropDownList ID="DropDownList_tutorlist" runat="server"></asp:DropDownList></td>
            <td>
                <asp:ImageButton ID="ImageButton_changetutor" runat="server" 
        ImageUrl="~/img/Control/Edit.gif" onclick="ImageButton_changetutor_Click" /></td>
        </tr>
    </table>
        <asp:GridView ID="GridView_defenseinfo" runat="server" 
        AutoGenerateColumns="False" AllowPaging="True" 
        onpageindexchanging="GridView_defenseinfo_PageIndexChanging" PageSize="15">
        <Columns>
            <asp:TemplateField HeaderText="选择">
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox_gridview" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="stu_id" HeaderText="学生学号" />
            <asp:BoundField DataField="stu_name" HeaderText="学生姓名" />
            <asp:BoundField DataField="tutor_name" HeaderText="指导教师姓名" />
        </Columns>
        <PagerStyle HorizontalAlign="Center" />
        <EmptyDataTemplate>
            <asp:Label ID="Label1" runat="server" ForeColor="#FF99CC" Text="该班级无学生论文指导信息！"></asp:Label>
        </EmptyDataTemplate>
    </asp:GridView>
        <asp:Label ID="Label_Tutordefine_result" runat="server" Text="" CssClass="Label_ReturnInfo"></asp:Label>
    </ContentTemplate>
    </asp:TabPanel>
       
    </asp:TabContainer>
    

</asp:Content>
